import datetime, asyncio
import math
from sys import argv

async def hello():
    print(f"[{datetime.datetime.now()}] Hello...")
    await asyncio.sleep(1)
    print(f"[{datetime.datetime.now()}] World...")

async def f(num: int):
    await asyncio.sleep(math.log1p(num))
    print(num)
    
async def sleep_sort(nums: list[int]):
    tasks = [asyncio.create_task(f(num)) for num in nums]
    await asyncio.wait(tasks)
    
if __name__ == "__main__":
    asyncio.run(sleep_sort(map(int, argv[1:])))